package com.his.invdrug.service;

import com.his.invdrug.entity.InvDrugHeader_Detailed;
import com.his.invdrug.vo.InvDrugHeaderSearchVo;
import com.his.invdrug.vo.InvDrugHeader_DetailedVo;
import com.his.login.entity.DictEmployee;

import java.util.List;

public interface InvDrugHeaderServcie {
    /**
     *查询库单信息
     */
    List<InvDrugHeader_Detailed> queryDrugHeaderForMainShow(DictEmployee dictEmployee, InvDrugHeaderSearchVo invDrugHeaderSearchVo);
    /**
     *查询库单信息
     */
    InvDrugHeader_Detailed queryDetailed(String id);

    /**
     *添加库单 库单主题和库单项目子表
     */
    void insertDrugHeader(DictEmployee dictEmployee, InvDrugHeader_DetailedVo invDrugHeaderDetailedVo);

    /**
     *修改库单 库单主题和库单项目子表
     */
    void updateDrugHeader(DictEmployee dictEmployee, InvDrugHeader_DetailedVo invDrugHeaderDetailedVo);
    /**
     * 审核
     */
    void examine(DictEmployee dictEmployee, String drugHeaderID);
    /**
     * 取消审核
     */
    void cancelExamine(DictEmployee dictEmployee, String drugHeaderID);
}
